{extend name="base/base" /}
{block name="style"}
<style type="text/css">

</style>
{/block}
{block name="content"}
        <table id="table" lay-filter="table"></table> 
{/block}
{block name="script"}
<script>
layui.use('table', function(){
  var table = layui.table; 
  table.render({
  elem: '#table'
  ,id:'table'
  ,height: 'full-150'
  ,url: '/admin/balance/totalList' //数据接口
  ,limit:20
  ,page: true //开启分页
  ,cols: [[ //表头
     {field:'name', title: '钱包', width: 200}
    ,{field:'total_use', title: '可用总额', width: 200}

    ]]
  }); 
  });
</script>
{/block}
